export default [
  {
    name: 'system',
    path: '/system',
    component: () => import('@/layout'),
    alwaysShow: true,
    meta: { title: '系统管理', icon: 'system' },
    permissions: [
      'system:data-dictionary:page',
      'system:team:page',
      'system:user:page'
    ],
    children: [
      {
        name: 'system-data-dictionary',
        path: 'system-data-dictionary',
        component: () => import('@/views/system/data-dictionary'),
        meta: { title: '数据字典管理' },
        permissions: ['system:data-dictionary:page']
      },
      {
        name: 'system-team',
        path: 'system-team',
        component: () => import('@/views/system/team'),
        meta: { title: '团队管理' },
        permissions: ['system:team:page']
      },
      {
        name: 'system-user',
        path: 'system-user',
        component: () => import('@/views/system/user'),
        meta: { title: '用户管理' },
        permissions: ['system:user:page']
      }
    ]
  }
];
